using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Collections.ObjectModel;


namespace RssReader
{
    public class RssReaderViewModel 
    {
        public RssReaderViewModel()
        {
            Feeds = new ObservableCollection<FeedViewModel>() {
               new FeedViewModel() { FeedName = "BradA",
                   FeedUrl = "http://blogs.msdn.com/brada/rss.xml"}};

          
        }
        public ObservableCollection<FeedViewModel> Feeds { get; private set; }

        public event PropertyChangedEventHandler PropertyChanged;
        private void NotifyPropertyChanged(String propertyName)
        {
            if (null != PropertyChanged)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }
}